<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<base href="<%=basePath%>">
<title>Insert title here</title>
</head>
<body>

	<form id="sysUserForm" method="post">
		<input type="hidden" name="id" />
		<p>
			Username :<input type="text" name="username"
				class="easyui-validatebox"
				data-options="required:true,missingMessage:'用户名必须填写',validType:'length[4,10]'">
		</p>
		<p>
			Password :<input type="text" name="password"
				class="easyui-validatebox"
				data-options="required:true,missingMessage:'密码必须填写'">
		</p>
		<p>
			Salt :<input type="text" name="salt" class="easyui-validatebox"
				data-options="required:true,missingMessage:'盐值必须填写',validType:'length[4,10]'">
		</p>
		<p>
			角色： <input id="role_form" name="roleIds" class="easyui-combobox"
				data-options="valueField:'id',textField:'name',url:'sysRole/all',panelHeight:'auto',panelMaxHeight:200,multiple:true,width:300,editable:false">
		</p>
	</form>

</body>
</html>